
const Home = () => import("../views/rightMain/Home.vue")
const UserInfo = () => import("../views/rightMain/informationManagement/UserInfo.vue")
const OldInfo = () => import('../views/rightMain/informationManagement/OldInfo.vue')
const Info = () => import('../views/rightMain/infoManage/Info.vue')
const Activity = ()=>import('../views/rightMain/activityManagement/Activity.vue')
const ActivityReg = () => import('../views/rightMain/activityManagement/ActivityReg.vue')
const Volunteer = ()=>import('../views/rightMain/volunteerManagement/volunteer.vue')
const Feedback = () => import('../views/rightMain/Feedback.vue')
const InfoCategory = () => import('../views/rightMain/category/InfoCategory.vue')
const ActivityCategory = () => import('../views/rightMain/category/ActivityCategory.vue')

export default [
    { name: 'home', title: '首页', path: '/home', component: Home, icon: 'el-icon-s-home', children: [] },
    {
        name: 'account',
        title: '用户管理',
        icon:'el-icon-menu',
        children: [
            { name: 'userInfo', title: '用户信息', path: '/userInfo', component: UserInfo, icon: 'el-icon-user-solid' },
            { name: 'oldInfo', title: '老人信息', path: '/oldInfo', component: OldInfo, icon: 'el-icon-user-solid' },
        ]
    },
    { name: 'info', title: '资讯管理', path: '/info', component: Info, icon: 'el-icon-document', children: [] },
    {
        name: 'activityManagement',
        title: '活动管理',
        icon:'el-icon-menu',
        children: [
            { name: 'activity', title: '公益活动', path: '/activity', component: Activity, icon: 'el-icon-wind-power' },
            { name: 'activityReg', title: '活动报名', path: '/activityReg', component: ActivityReg, icon: 'el-icon-document-add' },
            { name: 'volunteer', title: '自愿者报名', path: '/volunteer', component: Volunteer, icon: 'el-icon-user-solid', children: [] },
        ]
    },
    {
        name: 'categoryManagement',
        title: '类别管理',
        icon: 'el-icon-menu',
        children: [
            { name: 'activityCategory', title: '活动类别', path: '/activityCategory', component: ActivityCategory, icon: 'el-icon-s-grid' },
            { name: 'infoCategory', title: '资讯类别', path: '/infoCategory', component: InfoCategory, icon: 'el-icon-s-grid' },
        ]
    },
    { name: 'feeback', title: '意见反馈', path: '/feeback', component: Feedback, icon: 'el-icon-edit-outline', children: [] },

]